package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EventBo {

    // 编号
    @ExcelProperty(value = "编号")
    private Integer id;

    //事件
    @ExcelProperty(value = "事件")
    private String event;

    //时间
    @ExcelProperty(value = "时间")
    @DateTimeFormat("yyyy-MM-dd")
    private Date time;

    //来访人员
    @ExcelProperty(value = "来访人员")
    private String visitor;

    //备注
    @ExcelProperty(value = "备注")
    private String remark;

    //记录人
    @ExcelProperty(value = "记录人")
    private String notekeeper;


}
